.home {
  margin: 0 auto;
  width: var(--pagewidth);
  display: flex;
  background: var(--bgcolor);

  .left {
    width: 822px;
    margin-right: 20px;
    margin-top: 25px;
  }

  .right {
    align-self: baseline;
    margin-top: 25px;
  }
}




.newstypes {
  display: flex;
  position: relative;

  &::after {
    position: absolute;
    content: '';
    width: 110px;
    height: 100%;
    background-color: var(--theme);
    z-index: 0;
    border-radius: 16px;
    transform: translate(var(--videoNavTranslate));
    transition: all 0.3s cubic-bezier(.78, .36, .09, 1.35);
  }

  >div {
    width: 110px;
    height: 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    margin-right: 30px;
    cursor: pointer;
    justify-content: space-between;
    padding: 0 10px;
    position: relative;
    z-index: 1;



    &.active {
      >span {
        transition: all 0.1s linear 0.3s;
        color: #fff !important;
      }
    }

    >img {
      width: 20px;
      height: 20px;
      margin-right: 5px;
    }

    >span {
      font-size: 16px;
      font-family: PingFangSC-Medium, PingFang SC;
      font-weight: 500;
      color: var(--font333);
      line-height: 22px;
    }
  }
}


.newsbox {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 15px;
  max-height: 190px;
  padding: 15px 21px;
  background-color: var(--bgfff);
  margin-top: 18px;
  place-content: center;

  .newslinkitem {
    display: flex;
    align-items: center;
    line-height: 20px;
    overflow: hidden;

    &:hover {
      color: var(--theme) !important;
    }
  }

  .title {
    font-size: 14px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: var(--font999);
    float: left;
  }

  .newsDes {
    font-size: 14px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: var(--font333);
    width: 240px;
    overflow: hidden;
    width: 210px;
    float: left;
  }

  .videoinfo {
    font-size: 14px;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    color: #3C51BF;
    float: right;
    transform: translateX(-10px);
    margin-left: auto;
  }
}